/**   
 * @Title: User.java 
 * @Package: com.rename.icode.model 
 * @Description: Administrator版权所有
 * @author Administrator  
 * @date 2015-2-12 下午3:13:12 
 * @version  
 */

package com.rename.icode.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 实现了...功能
 * @author Administrator
 * @date 2015-2-12 下午3:13:12
 * @version V1.0
 */

public class User {
	private String id;
	private String name;
	private String password;
	private String phone;
	private List<CodeFile> serverData;// 存放服务器代码文件
	private List<CodeFile> localData;// 存放本地代码文件
	private List<Record> records;// 上传下载记录

	public User() {
		serverData = new ArrayList<CodeFile>();
		localData = new ArrayList<CodeFile>();
		records = new ArrayList<Record>();
	}

	public User(String id, String name, String password, String phone,
			List<CodeFile> serverData, List<CodeFile> localData) {
		this.id = id;
		this.name = name;
		this.password = password;
		this.phone = phone;
		this.serverData = serverData;
		this.localData = localData;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public List<CodeFile> getServerData() {
		return serverData;
	}

	public void setServerData(List<CodeFile> serverData) {
		this.serverData = serverData;
	}

	public List<CodeFile> getLocalData() {
		return localData;
	}

	public void setLocalData(List<CodeFile> localData) {
		this.localData = localData;
	}

	public List<Record> getRecords() {
		return records;
	}

	public void setRecords(List<Record> records) {
		this.records = records;
	}

}
